package com.yuanheng100.asset.model;

/**
 * 这是所有资产类的顶级类。包括了来源平台，资产编号等通用信息
 * @author Bai Song
 *
 */
public abstract class Asset
{
	
	/**
	 * 资产来源平台id。此id值需个资产平台协商
	 */
	private short fromPlatformId;
	
	/**
	 * 资产编号。此id是该项资产在此平台内部的编号
	 */
	private long assetId;

	/**
	 * 资产名称
	 */
	private String assetTitle;

	/**
	 * @return the fromPlatformId
	 */
	public short getFromPlatformId()
	{
		return fromPlatformId;
	}

	/**
	 * @param fromPlatformId the fromPlatformId to set
	 */
	public void setFromPlatformId(short fromPlatformId)
	{
		this.fromPlatformId = fromPlatformId;
	}

	/**
	 * @return the assetId
	 */
	public long getAssetId()
	{
		return assetId;
	}

	/**
	 * @param assetId the assetId to set
	 */
	public void setAssetId(long assetId)
	{
		this.assetId = assetId;
	}

	/**
	 * @return the assetTitle
	 */
	public String getAssetTitle()
	{
		return assetTitle;
	}

	/**
	 * @param assetTitle the assetTitle to set
	 */
	public void setAssetTitle(String assetTitle)
	{
		this.assetTitle = assetTitle;
	}
	
	
}
